Salesforce Data Cloud Ingestion from Sitemaps - Implementation Template
Data mappings
This document provides information generated from the DataWeave scripts included in the project, such as function definitions, variable definitions, and data mapping tables.
Module | Description |
---|---|
sitemap-app-capabilities | |
map-full-refresh-response | |
map-full-refresh-relative-response |
sitemap-app-capabilities
Source:
./src/main/resources/dwl/sitemap-app-capabilities.dwl
Mapping Tables
Provide the capabilities of the application for Organizaiton's Sitemaps
Source Field Name | Sitemaps Field Name | Mapping Description |
---|---|---|
applicationId | NA | API AutoDiscoveryID from configuration file |
sourceId | NA | SDC monitoring sitemaps domain name |
sourceType | NA | Source system name from configuration file |
sourceName | results.name | List of Sitemaps within the Organization's domain |
description | NA | Application Title |
isEventDriven | NA | Default value true |
isHierarchical | NA | Default value false |
supportedChangeModes | NA | Supports PollFullRefresh |
supportedChangeEvents | NA | No support for change events |
supportedPaginationMode | NA | No support for pagination mode |
map-full-refresh-response
Source:
./src/main/resources/dwl/map-full-refresh-response.dwl
Functions
fun getResourceName (location)
Extracts the last path element to use as the resource name.
param
location
The full location URL.
return The last path element.
Mapping Tables
This provides the content metadata details of resources maintained in the source system
Source Field Name | Sitemaps Field Name | Mapping Description |
---|---|---|
resourceChanges.applicationId | NA | API AutoDiscoveryID from configuration file |
resourceChanges.sourceId | domain.name | SDC monitoring sitemaps domain name |
resourceChanges.sourceType | NA | Source system name |
resourceChanges.changeEventType | NA | Type of event |
resourceChanges.eventDateTime | NA | Current Timestamp |
resourceChanges.resourceEntry.resourceId | results.loc | Sitemap Resource location |
resourceChanges.resourceEntry.resourceType | NA | Type of resource |
resourceChanges.resourceEntry.resourceLocation | results.location | Resource location |
resourceChanges.resourceEntry.contentType | NA | Resource content type |
resourceChanges.resourceEntry.createdDate | results.lastmod | Resource creation date |
resourceChanges.resourceEntry.createdBy | results.authorname | Author name |
resourceChanges.resourceEntry.updatedDate | results.lastmod | Resource modification date |
resourceChanges.resourceEntry.updatedBy | results.authorname | Resource author id |
resourceChanges.resourceEntry.isDeleted | NA | Resource state as default false |
map-full-refresh-relative-response
Source:
./src/main/resources/dwl/map-full-refresh-relative-response.dwl
Functions
fun getResourceName (location)
Extracts the last path element to use as the resource name.
param
location
The full location URL.
return The last path element.
Mapping Tables
This provides the content metadata details of resources maintained in the source system
Source Field Name | Sitemaps Field Name | Mapping Description |
---|---|---|
resourceChanges.applicationId | NA | API AutoDiscoveryID from configuration file |
resourceChanges.sourceId | domain.name | SDC monitoring sitemaps domain name |
resourceChanges.sourceType | NA | Source system name |
resourceChanges.changeEventType | NA | Type of event |
resourceChanges.eventDateTime | NA | Current Timestamp |
resourceChanges.resourceEntry.resourceId | results.loc | Sitemap Resource location |
resourceChanges.resourceEntry.resourceType | NA | Type of resource |
resourceChanges.resourceEntry.resourceLocation | results.location | Resource location |
resourceChanges.resourceEntry.contentType | NA | Resource content type |
resourceChanges.resourceEntry.createdDate | results.lastmod | Resource creation date |
resourceChanges.resourceEntry.createdBy | results.authorname | Author name |
resourceChanges.resourceEntry.updatedDate | results.lastmod | Resource modification date |
resourceChanges.resourceEntry.updatedBy | results.authorname | Resource author id |
resourceChanges.resourceEntry.isDeleted | NA | Resource state as default false |